import request from '@/utils/request';

// 我的申请列表
export function queryList(params) {
    return request('/api/workflowweb/approve/v1/cc/list', {
        method: 'POST',
        data: params
    });
}

//  审批详情
export async function queryDetail(params) {
    return request(
        '/api/workflowweb/approve/v1/cc/detail',
        {
            method: 'POST',
            data: params
        }
    );
}
//  标记已读
export async function updateReadingStatus(params) {
    return request(
        '/api/workflowweb/approve/v1/cc/updateCcReadingStatus',
        {
            method: 'POST',
            data: params
        }
    );
}
